package net.uhuijia.shop.info.service;

import net.uhuijia.appbase.service.BaseService;
import net.uhuijia.user.usermall.persistence.model.UserMall;
import net.uhuijia.vo.shop.ShopBaseDetaiVo;
import net.uhuijia.vo.shop.ShopDetailVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import net.uhuijia.appbase.service.CrudService;
import net.uhuijia.shop.info.persistence.dao.ShopDao;
import net.uhuijia.shop.info.persistence.model.Shop;
import net.uhuijia.shop.info.persistence.model.ShopExample;


@Service
@Transactional
public interface ShopService
     extends BaseService<Shop,ShopExample> {
    /**
     * @Author xzj
     * @Description //获取店铺基本信息
     * @Date  2018/10/6
     * @Param 
     * @return 
     **/
    ShopBaseDetaiVo getShopBaseDetaiVoByShopId(String shopId);
    /**
     * @Author xzj
     * @Description //获取店铺基本信息 判断用户是否收藏
     * @Date  2018/10/6
     * @Param
     * @return
     **/
    ShopDetailVo getShopDetailVoByShopId(String shopId, UserMall userMall);

    Shop joinShop(UserMall userMall ,String shopId,String realName,String phone,String idCardFrontImg,String idCardBackImg);


}